home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
finger.man
< prev
next >
Wrap
Text File
|
1990-05-13
|
3KB
|
133 lines
FINGER User Commands FINGER
NNAAMMEE
finger - user information lookup program
SSYYNNOOPPSSIISS
ffiinnggeerr [ options ] name ...
DDEESSCCRRIIPPTTIIOONN
By default _f_i_n_g_e_r lists the login name, full name, terminal
name and write status (as a `*' before the terminal name if
write permission is denied), idle time, login time, and
office location and phone number (if they are known) for
each current UNIX user. (Idle time is minutes if it is a
single integer, hours and minutes if a ':' is present, or
days and hours if a 'd' is present.) By default, only one
entry per user (with the least idle time) is printed.
A longer format also exists and is used by _f_i_n_g_e_r whenever a
list of people's names is given. (Account names as well as
first and last names of users are accepted.) This format is
multi-line, and includes all the information described above
as well as the user's home directory and login shell, any
plan which the person has placed in the file ._p_l_a_n in their
home directory, and the project on which they are working
from the file ._p_r_o_j_e_c_t also in the home directory.
_F_i_n_g_e_r may be used to lookup users on a remote machine. The
format is to specify the user as ``user@host.'' If the user
name is left off, the standard format listing is provided on
the remote machine.
_F_i_n_g_e_r options include:
--mm Match arguments only on user name.
--ll Force long output format.
--pp Suppress printing of the ._p_l_a_n files
--ss Force short output format.
--aa Print all entries for logged-in users rather than the
entry with the least idle time for each user.
FFIILLEESS
/etc/utmp who file
/etc/passwd for users names, offices, ...
/usr/adm/lastlog last login times
~/.plan plans
~/.project projects
SSEEEE AALLSSOO
chfn(1), w(1), who(1)
Sprite v1.0 May 10, 1986 1
FINGER User Commands FINGER
AAUUTTHHOORR
Earl T. Cohen
BBUUGGSS
Only the first line of the ._p_r_o_j_e_c_t file is printed.
The encoding of the gcos field is UCB dependent - it knows
that an office `197MC' is `197M Cory Hall', and that `529BE'
is `529B Evans Hall'. It also knows that a four digit
office phone number should have a ``x2-'' prepended.
There is no way to pass arguments to the remote machine as
_f_i_n_g_e_r uses an internet standard port.
A user information data base is in the works and will radi-
cally alter the way the information that _f_i_n_g_e_r uses is
stored. Finger will require extensive modification when
this is implemented.
SSPPRRIITTEE FFEEAATTUURREESS
Specifying the pseudo-user "=ps" will perform a ps on the
specified machine. Specifying the pseudo-user "=rup" will
perform a rup on the specified machine. Specifying the
pseudo-user "=all" will perform a finger -a on the specified
machine.
Sprite v1.0 May 10, 1986 2